package com.ym.pms.model;

/**
 * @Author: xybh
 * @Description:
 * @Date: Created in 20:28 2020/12/5
 * @Modified:
 */
public class TokenModel {

    /**
     * 用户id
     */
    private String userId;

    /**
     * 随机生成的UUID
     */
    private String token;

    public TokenModel(String userId, String token) {
        this.userId = userId;
        this.token = token;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }
}